home *** CD-ROM | disk | FTP | other *** search
/ Giga Games 1 / Giga Games.iso / net / hack / 3_1 / sys / unix / snd86unx.shr / spkr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-27  |  317 b   |  15 lines

  1. /* spkr.h -- interface definitions for speaker ioctl() */
  2.  
  3. #define    SPKRIOC        ('S'<<8)
  4. #define    SPKRTONE    (SPKRIOC|1)    /* emit tone */
  5. #define    SPKRTUNE    (SPKRIOC|2)    /* emit tone sequence*/
  6.  
  7. typedef struct
  8. {
  9.     int    frequency;    /* in hertz */
  10.     int duration;    /* in 1/100ths of a second */
  11. }
  12. tone_t;
  13.  
  14. /* spkr.h ends here */
  15.